package com.unittec.zk.provider.auth.vo;

import com.unittec.zk.provider.auth.entity.SysLimitFunction;
import com.unittec.zk.sdk.root.enums.BizCode;
import com.unittec.zk.sdk.root.enums.BizCodeEnum;

import lombok.Data;

/**
 * @description 返回Vo
 * @author Jason
 * @date 2019/11/07
 */
@Data
public class ResultVo {

    private BizCodeEnum bizCodeEnum;

    private Boolean ret;

    private String msg;

    private String createUser;

    private String callLimitId;

    private String token;

    private String tenantId;

    private String functionCode;

    private String appCode;

    private SysLimitFunction limitFunction;

    private String appId;

    public boolean isSuccess() {
        return this.bizCodeEnum == BizCode.SUCCESS;
    }
}
